<?php
/*====== Database ======================================================*/
$_cf = array();
$arrconnect = array( 
	'host'	=>	'localhost',
	'db'	=>	'cms',
	'user'	=>	'root',
	'pass'	=>	''
);

date_default_timezone_set("Asia/Ho_Chi_Minh");

/*====== Route Dir =====================================================*/
define('DIR_CODE'                   ,'/cms/'            , true );
define('DIR_ADMIN'                  ,'admin'            , true );
define('DIR_DEFAULT'                ,'public'           , true );
define('DIR_APP'                    ,'app'              , true );
define('DIR_LIB'                    ,'lib'              , true );
define('DIR_TEMP'                   ,'temp'             , true );
define('DIR_LANG'                   ,'lang'             , true );
define('DIR_UPLOAD'                 ,'upload'           , true );

define('DIR_TEMP_ADMIN_DEFAULT'     ,'default'          , true );
define('DIR_TEMP_PUBLIC_DEFAULT'    ,'default'          , true );

/*====== Route ===================================================================================*/
define('prefix'	                    ,'prefix_'                                      , true );
define('URL_BASE'			        ,'http://'.$_SERVER['SERVER_NAME'].DIR_CODE     , true );
define('URL_PREFIX'                 ,URL_BASE                                       , true ); /*.'index.php?route='*/
define('PATH_BASE'			        ,dirname(__FILE__) . '/'                       , true );
define('PATH_APP'			        ,PATH_BASE . DIR_APP . '/'                     , true );
define('PATH_UPLOAD'		        ,PATH_BASE . DIR_UPLOAD . '/'                  , true );
define('PATH_LIB'			        ,PATH_BASE . DIR_LIB . '/'                     , true );
define('ZIPHTML'                    ,false                                          , true);

/* Mail */
define('Emailprotocol' , 'smtp' , true);
define('Emailport' , 465 , true);
define('Emailhostname' , 'ssl://smtp.gmail.com' , true);
define('Emailuser' , 'seobi1901@gmail.com' , true);
define('Emailpassword' , 'mothaiba123' , true);
define('EmailShop' , 'seobi1901@gmail.com' , true);
